#!/bin/bash

export LANG=en_US.UTF-8
export LANGUAGE=en_US:en

eth=$(ifconfig | cut -d\  -f1 | grep -v "lo")
echo $eth
ifmes=$(ifconfig $eth)
ifmes=${ifmes#*inet addr:}
echo ${ifmes%% Bcast:*}

